<template>
  <div>
    <hr>
    <h3>-------这是父组件--------</h3>
    <button>普通按钮</button>
    <!-- <son @click="aclick" /> -->
    <!-- 掌握.navtive事件修饰符的格式及使用 -->
    <son @click.native="aclick" />
  </div>
</template>

<script>
import son from './son.vue'
export default {
  components: { son },
  methods: {
    aclick() {
      alert('aclick')
    }
  }

}
</script>

<style>

</style>
